package com.meixiang.fragment.moneyManagement;

import android.support.v4.app.Fragment;
import android.support.v4.content.ContextCompat;

import com.meixiang.R;
import com.meixiang.fragment.service.BaseViewPagerFragment;

/**
 * @author yinsujun  Created at 2016/5/6 14:05
 */
public class MoneyManagementFragment extends BaseViewPagerFragment {
//    @Override
//    protected void initSettingColor() {
//        super.initSettingColor();
//        setInitColor(ContextCompat.getColor(getActivity(), R.color.black_8)
//                ,ContextCompat.getColor(getActivity(), R.color.home_color_financial)
//                ,ContextCompat.getColor(getActivity(), R.color.home_color_financial));
//    }

    @Override
    protected void setTextNormalColor() {
        super.setTextNormalColor();
        normalTextColor=ContextCompat.getColor(getActivity(), R.color.black_8);
    }

    @Override
    protected String[] getTitles() {
        return new String[]{"回款中","已完成"};
    }

    @Override
    protected Fragment[] getFragments() {
        return new Fragment[]{new ReturnedMoneyFragment(),new CompletedFragment()};
    }

    @Override
    protected int ColorStyle() {
        return R.color.home_color_financial;
    }
}
